<template>
  <div>
    <h2 class="titleHeader">个人中心</h2>
    <div style="margin-bottom:10px"></div>
    <el-tabs type="border-card">
      <!-- 修改信息 -->
      <el-tab-pane>
        <span slot="label"><i class="el-icon-edit"></i> 修改信息</span>
        <basic-message></basic-message>
      </el-tab-pane>
      <!-- 修改密码 -->
      <el-tab-pane>
        <span slot="label"><i class="el-icon-edit"></i> 修改密码</span>
        <change-password></change-password>
      </el-tab-pane>
      <div style="margin-bottom:30px"></div>
    </el-tabs>
  </div>
</template>
<script>
import BasicMessage from '@/components/center/BasicMessage.vue'
import ChangePassword from '@/components/center/ChangePassword.vue'
export default {
  name: 'HomeCenter',
  components: {
    BasicMessage,
    ChangePassword
  }
}
</script>
